from django.conf.urls import url

from . import views

urlpatterns=[
    url(r'^image_codes/(?P<img_id>[0-9a-fA-F-]+)/$',views.ImageCodeView.as_view()),
    url(r'^sms_codes/(?P<mobile>1[345789]\d{9})/$',views.SMSCodeView.as_view()),
    url(r'^username/(?P<username>\w{5,20})/count/$',views.UsernameView.as_view()),
    url(r'^mobile/(?P<mobile>1[345789]\d{9})/count/$',views.MobileView.as_view())
]